import request from '@/utils/request'

export const reqSkuList = (page, limit) => request({ url: `/admin/product/list/${page}/${limit}` })
export const reqSale = (skuId) => request({ url: `/admin/product/onSale/${skuId}` })
export const reqCancel = (skuId) => request({ url: `/admin/product/cancelSale/${skuId}` })
export const reqSkuById = (skuId) => request({ url: `/admin/product/getSkuById/${skuId}` })
